<?php
/*
 *  Created by Andrew J. Bennieston on 2007-03-07.
 *  Copyright (c) 2007. All rights reserved.
 */

class LaTeXException extends Exception
{
	private $message;
	private $backtrace;
	
	public function __construct($message)
	{
		$this->message = $message;
		$this->backtrace = debug_backtrace();
	}
	
	public function getMessage() { return $this->message; }
	public function getBacktrace() { return $this->backtrace; }
}

?>